/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package unilearn.dao;

import java.util.List;
import unilearn.vo.Assignment;

/**
 *
 * @author Yat
 */
public interface AssignmentDAO {

    public abstract List<Assignment> getAll() throws Exception;

    public abstract Assignment get(int id) throws Exception;

    public abstract List<Assignment> find(Assignment assignment) throws Exception;

    public abstract Assignment insert(Assignment assignment) throws Exception;

    public abstract Assignment update(Assignment assignment) throws Exception;

    public abstract void delete(Assignment assignment) throws Exception;
}
